﻿using ConfExpert.Utility;
using DevTeam;
using System;

namespace ConfExpert.Forms.Ithalat
{
    public partial class MasrafExecDetay : XPopupForm
    {
        public MasrafExecDetay(int HesapPlaniId, string col)
        {
            InitializeComponent();

            gridView1.Init("GetMasrafExecDetay", HesapPlaniId, col);
            gridView1.FormatAsNumber(1, "Tutar");
            gridView1.AddSummary("Tutar");
            gridView1.BestFitColumns();
            if (HesapPlaniId > 0)
                gridView1.SetViewCaption(AppSession.Lookups.HesapPlani.FindByHesapPlaniId(HesapPlaniId).Name + ". " + col);
        }

        private void MasrafExecDetay_Load(object sender, EventArgs e)
        {

        }
    }
}
